import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.ArrayList;
import java.util.Date;

public class Project {

    private Long projectId;
    
    private ArrayList<GitVM> repository;

    private String name;
    
    private Integer status;
    
    private String desc;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date time;

	public Project(Long projectId, ArrayList<GitVM> repository, String name, Integer status, String desc, Date time) {
        this.projectId = projectId;
        this.repository = repository;
        this.name = name;
        this.status = status;
        this.desc = desc;
        this.time = time;
    }
	
	private Project(Long projectId, String name, Integer status, String desc, Date time) {
        this.projectId = projectId;
        this.name = name;
        this.status = status;
        this.desc = desc;
        this.time = time;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

	public ArrayList<GitVM> getRepository() {
		return repository;
	}

	public void setRepository(ArrayList<GitVM> repository) {
		this.repository = repository;
	}
    
    
}